package org.mtmi.ui.controls.edits;

import org.mtmi.ui.controls.Control;
import org.mtmi.ui.controls.Knob;
import org.mtmi.ui.drawables.IColorDrawable;
import org.mtmi.ui.drawables.KnobColorDrawable;

/**
 * Action to change Knob foreground color.
 */
public class KnobForegroundAction extends ControlForegroundAction 
{

	@Override
	public boolean isControlHandled( Control c ) {
		return c instanceof Knob;
	}
	
	@Override
	protected IColorDrawable createColorDrawable() {
		return new KnobColorDrawable( null );
	}

}
